/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import connectivity.QueryManager;
import main.BarApplication;

/**
 *
 * @author enochjustus
 */
public class BarOrder {
    
    private int memberId;
    private int orderId;
    private String date;
    private String description;
    private String payMethod;
    private int branchID;
    
    public BarOrder(String date, String description, String payMethod, int memberId, int orderId){
        this.memberId = memberId;
        this.orderId = orderId;
        this.date = date;
        this.description = description;
        this.payMethod = payMethod;
    }
        public BarOrder(String date, String description, String payMethod, int memberId, int orderId, int branchID){
        this.memberId = memberId;
        this.orderId = orderId;
        this.date = date;
        this.description = description;
        this.payMethod = payMethod; 
        this.branchID = branchID;
    }
    public String getDate(){
        return date;
    }
    public void setDate(String date){
        this.date = date;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public int getBranchID() {
        return branchID;
    }

    public void setBranchID(int branchID) {
        this.branchID = branchID;
    }
    
}
